package cn.edu.just.firstjavaapp.l6;

public class NestedClassDemo {
    class A{
        int x=10;
    }

    public static class B{
        int a;
    }

    public static void main(String[] args) {
        NestedClassDemo Obj01 = new NestedClassDemo();
        A aObj = Obj01.new A();
        A aObj2 = Obj01.new A();
        System.out.println(aObj.x);

        NestedClassDemo.B bObj01=new NestedClassDemo.B();
        B bObj02=new B();
    }
}
